package com.followerback.model;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;
import com.googlecode.objectify.annotation.Unindexed;

@Cached public class TwitterProfileChannel {

	@Id private Long id;
	
	private long twitterProfileID;
	
	@Unindexed private String channelToken = "";
	
	private long creationTime;

	public TwitterProfileChannel() {
		super();
	}

	public TwitterProfileChannel(long twitterProfileID) {
		super();
		this.twitterProfileID = twitterProfileID;
		this.creationTime = System.currentTimeMillis();
	}

	public Long getId() {
		return id;
	}

	public long getTwitterProfileID() {
		return twitterProfileID;
	}

	public String getChannelToken() {
		return channelToken;
	}
	
	public void setChannelToken(String channelToken) {
		this.channelToken = channelToken;
	}

	public long getCreationTime() {
		return creationTime;
	}
}
